package com.cloud.api.domain.user;

import com.cloud.api.myenum.SexEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

@Data
public class UserList implements Serializable {
    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "注册手机号")
    private String mobile;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "性别")
    private SexEnum sex;

    @Schema(description = "生日")
    private LocalDate birthday;

    @Schema(description = "配送地址")
    private String shipAddr;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "注册时间")
    private String registerTime;

    @Schema(description = "是否绑定车辆")
    private Boolean hasBinding;

    @Schema(description = "是否可发布文章用户")
    private Boolean flag;
}
